"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var react_native_1 = require("react-native");
var _a = react_native_1.Dimensions.get('window'), width = _a.width, height = _a.height;
exports.SCREEN_WIDTH = width;
exports.SCREEN_HEIGHT = height;
exports.STATUSBAR_HEIGHT = 20;
exports.ISIPHONE_X = (react_native_1.Platform.OS === 'ios' && exports.SCREEN_HEIGHT === 812 && exports.SCREEN_WIDTH === 375);
exports.TABBAR_HEIGHT_NORMAL = 49;
exports.TABBAR_HEIFHT = exports.ISIPHONE_X ? exports.TABBAR_HEIGHT_NORMAL + exports.STATUSBAR_HEIGHT : 49;
exports.NAVBAR_HEIFHT = exports.ISIPHONE_X ? 88 : 64;
exports.urlReg = new RegExp('(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]', 'g');
